package com.kang.pojo;

import java.io.Serializable;
import java.util.Date;

/**
 * 采购入库
 * 
 * @author ysq
 *
 */
public class WarehouseOrder implements Serializable {
	private static final long serialVersionUID = 1L;
	/**
	 * ID编号
	 */
	private Integer purchaseordereid;
	/**
	 * 入库单号
	 */
	private String warehousenumber;
	/**
	 * 采购人ID
	 */
	private Integer buyerid;
	/**
	 * 仓库ID
	 */
	private Integer warehouseid;
	/**
	 * 公司电话
	 */
	private String companytelephone;
	/**
	 * 采购订单
	 */
	private String address;
	/**
	 * 供应商ID
	 */
	private Integer supplierid;
	/**
	 * 入库说明
	 */
	private String company;
	/**
	 * 创建时间
	 */
	private Date createtime;
	/**
	 * 最后处理时间
	 */
	private Date finalprocessingtime;
	/**
	 * 创建人ID
	 */
	private Integer createpersonid;
	/**
	 * 最后处理人ID
	 */
	private Integer lastpersonid;
	/**
	 * 物品物料1普通物料，2IMPA物料
	 */
	private Integer materialMaterial;
	/**
	 * 说明
	 */
	private String remarks;
	/**
	 * 0未提交，1已提交不可修改
	 */
	private Integer status;

	public Integer getPurchaseordereid() {
		return purchaseordereid;
	}

	public void setPurchaseordereid(Integer purchaseordereid) {
		this.purchaseordereid = purchaseordereid;
	}

	public String getWarehousenumber() {
		return warehousenumber;
	}

	public void setWarehousenumber(String warehousenumber) {
		this.warehousenumber = warehousenumber == null ? null : warehousenumber
				.trim();
	}

	public Integer getBuyerid() {
		return buyerid;
	}

	public void setBuyerid(Integer buyerid) {
		this.buyerid = buyerid;
	}

	public Integer getWarehouseid() {
		return warehouseid;
	}

	public void setWarehouseid(Integer warehouseid) {
		this.warehouseid = warehouseid;
	}

	public String getCompanytelephone() {
		return companytelephone;
	}

	public void setCompanytelephone(String companytelephone) {
		this.companytelephone = companytelephone == null ? null
				: companytelephone.trim();
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address == null ? null : address.trim();
	}

	public Integer getSupplierid() {
		return supplierid;
	}

	public void setSupplierid(Integer supplierid) {
		this.supplierid = supplierid;
	}

	public String getCompany() {
		return company;
	}

	public void setCompany(String company) {
		this.company = company == null ? null : company.trim();
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public Date getFinalprocessingtime() {
		return finalprocessingtime;
	}

	public void setFinalprocessingtime(Date finalprocessingtime) {
		this.finalprocessingtime = finalprocessingtime;
	}

	public Integer getCreatepersonid() {
		return createpersonid;
	}

	public void setCreatepersonid(Integer createpersonid) {
		this.createpersonid = createpersonid;
	}

	public Integer getLastpersonid() {
		return lastpersonid;
	}

	public void setLastpersonid(Integer lastpersonid) {
		this.lastpersonid = lastpersonid;
	}

	public Integer getMaterialMaterial() {
		return materialMaterial;
	}

	public void setMaterialMaterial(Integer materialMaterial) {
		this.materialMaterial = materialMaterial;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public WarehouseOrder() {
		super();
	}

	@Override
	public String toString() {
		return "WarehouseOrder [purchaseordereid=" + purchaseordereid
				+ ", warehousenumber=" + warehousenumber + ", buyerid="
				+ buyerid + ", warehouseid=" + warehouseid
				+ ", companytelephone=" + companytelephone + ", address="
				+ address + ", supplierid=" + supplierid + ", company="
				+ company + ", createtime=" + createtime
				+ ", finalprocessingtime=" + finalprocessingtime
				+ ", createpersonid=" + createpersonid + ", lastpersonid="
				+ lastpersonid + ", materialMaterial=" + materialMaterial
				+ ", remarks=" + remarks + ", status=" + status + "]";
	}

}